
/**
 * @cat Google
 * @name Renaissance.GoogleMashup
 * @desc Google Mashup wrapper
 * @param {String} name mashup name
 * @return {Object} object
 */
function Renaissance.GoogleMashup(name) {
	this.name = name;
	this.proxy = new Renaissance.YahooPipeRssProxy();
}
/**
 * @cat Google
 * @name Renaissance.GoogleMashup.prototype.fetchAppFeed
 * @desc fetch application feed content
 * @param {Function} callback content handler
 * @param {String} name application feed slot name
 * @param {Object} parameters optional parameters to GData
 */
Renaissance.GoogleMashup.prototype.fetchAppFeed = function (callback, name, parameters) {
	if (parameters) {
		var parameters = parameters;
	} else {
		var parameters = {};
	}

	parameters['r'] = (new Date).getTime();

	var base = 'http://' + escape(this.name) + '.googlemashups.com/feeds/app/' + escape(name) + '?' + this.proxy.pipe.requester.buildQuery(parameters);
	return this.proxy.proxy(callback, base);
};
